Observability
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
top
Observability is a measure of how well internal states of a system can be inferred from knowledge of its external outputs. In control theory, the observability and controllability of a linear system are mathematical duals.
The concept of observability was introduced by the Hungarian-American engineer Rudolf E. Kálmán for linear dynamic systems.cite-ref-1[1]cite-ref-2[2] A dynamical system designed to estimate the state of a system from measurements of the outputs is called a state observer for that system, such as Kalman filters.
Contents
• See also
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Definition
Consider a physical system modeled in state-space representation. A system is said to be observable if, for every possible evolution of state and control vectors, the current state can be estimated using only the information from outputs (physically, this generally corresponds to information obtained by sensors). In other words, one can determine the behavior of the entire system from the system's outputs. On the other hand, if the system is not observable, there are state trajectories that are not distinguishable by only measuring the outputs.
Linear time-invariant systems
For time-invariant linear systems in the state space representation, there are convenient tests to check whether a system is observable. Consider a SISO system with n {\displaystyle n} state variables (see state space for details about MIMO systems) given by
x ˙ ˙ ( t ) = A x ( t ) + B u ( t ) {\displaystyle {\dot {\mathbf {x} }}(t)=\mathbf {A} \mathbf {x} (t)+\mathbf {B} \mathbf {u} (t)}
y ( t ) = C x ( t ) + D u ( t ) {\displaystyle \mathbf {y} (t)=\mathbf {C} \mathbf {x} (t)+\mathbf {D} \mathbf {u} (t)}
Observability matrix
If and only if the column rank of the observability matrix, defined as
O = [ C C A C A 2 ⋮ ⋮ C A n − − 1 ] {\displaystyle {\mathcal {O}}={\begin{bmatrix}C\\CA\\CA^{2}\\\vdots \\CA^{n-1}\end{bmatrix}}}
is equal to n {\displaystyle n} , then the system is observable. The rationale for this test is that if n {\displaystyle n} columns are linearly independent, then each of the n {\displaystyle n} state variables is viewable through linear combinations of the output variables y {\displaystyle y} .
Related concepts
Observability index
The observability index v {\displaystyle v} of a linear time-invariant discrete system is the smallest natural number for which the following is satisfied: rank ( O v ) = rank ( O v + 1 ) {\displaystyle {\text{rank}}{({\mathcal {O}}_{v})}={\text{rank}}{({\mathcal {O}}_{v+1})}} , where
O v = [ C C A C A 2 ⋮ ⋮ C A v − − 1 ] . {\displaystyle {\mathcal {O}}_{v}={\begin{bmatrix}C\\CA\\CA^{2}\\\vdots \\CA^{v-1}\end{bmatrix}}.}
Unobservable subspace
The unobservable subspace N {\displaystyle N} of the linear system is the kernel of the linear map G {\displaystyle G} given bycite-ref-1-3-0[3]
G : : R n → → C ( R ; R n ) x ( 0 ) ↦ ↦ C e A t x ( 0 ) {\displaystyle {\begin{aligned}G\colon \mathbb {R} ^{n}&\rightarrow {\mathcal {C}}(\mathbb {R} ;\mathbb {R} ^{n})\\x(0)&\mapsto Ce^{At}x(0)\end{aligned}}}
where C ( R ; R n ) {\displaystyle {\mathcal {C}}(\mathbb {R} ;\mathbb {R} ^{n})} is the set of continuous functions from R {\displaystyle \mathbb {R} } to R n {\displaystyle \mathbb {R} ^{n}} . N {\displaystyle N} can also be written as cite-ref-1-3-1[3]
N = ⋂ ⋂ k = 0 n − − 1 ker ( C A k ) = ker O {\displaystyle N=\bigcap _{k=0}^{n-1}\ker(CA^{k})=\ker {\mathcal {O}}}
Since the system is observable if and only if rank ( O ) = n {\displaystyle \operatorname {rank} ({\mathcal {O}})=n} , the system is observable if and only if N {\displaystyle N} is the zero subspace.
The following properties for the unobservable subspace are valid:cite-ref-1-3-2[3]
• N ⊂ ⊂ K e ( C ) {\displaystyle N\subset Ke(C)}
• A ( N ) ⊂ ⊂ N {\displaystyle A(N)\subset N}
• N = ⋃ ⋃ { S ⊂ ⊂ R n ∣ ∣ S ⊂ ⊂ K e ( C ) , A ( S ) ⊂ ⊂ N } {\displaystyle N=\bigcup \{S\subset R^{n}\mid S\subset Ke(C),A(S)\subset N\}}
Detectability
A slightly weaker notion than observability is detectability. A system is detectable if all the unobservable states are stable.cite-ref-4[4]
Linear time-varying systems
x ˙ ˙ ( t ) = A ( t ) x ( t ) + B ( t ) u ( t ) {\displaystyle {\dot {\mathbf {x} }}(t)=A(t)\mathbf {x} (t)+B(t)\mathbf {u} (t)\,}
y ( t ) = C ( t ) x ( t ) . {\displaystyle \mathbf {y} (t)=C(t)\mathbf {x} (t).\,}
Suppose that the matrices A {\displaystyle A} , B {\displaystyle B} and C {\displaystyle C} are given as well as inputs and outputs u {\displaystyle u} and y {\displaystyle y} for all t ∈ ∈ [ t 0 , t 1 ] ; {\displaystyle t\in [t_{0},t_{1}];} then it is possible to determine x ( t 0 ) {\displaystyle x(t_{0})} to within an additive constant vector which lies in the null space of M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} defined by
M ( t 0 , t 1 ) = ∫ ∫ t 0 t 1 φ φ ( t , t 0 ) T C ( t ) T C ( t ) φ φ ( t , t 0 ) d t {\displaystyle M(t_{0},t_{1})=\int _{t_{0}}^{t_{1}}\varphi (t,t_{0})^{T}C(t)^{T}C(t)\varphi (t,t_{0})\,dt}
where φ φ {\displaystyle \varphi } is the state-transition matrix.
It is possible to determine a unique x ( t 0 ) {\displaystyle x(t_{0})} if M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} is nonsingular. In fact, it is not possible to distinguish the initial state for x 1 {\displaystyle x_{1}} from that of x 2 {\displaystyle x_{2}} if x 1 − − x 2 {\displaystyle x_{1}-x_{2}} is in the null space of M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} .
Note that the matrix M {\displaystyle M} defined as above has the following properties:
• M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} is symmetric
• M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} is positive semidefinite for t 1 ≥ ≥ t 0 {\displaystyle t_{1}\geq t_{0}}
• M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} satisfies the linear matrix differential equation
d d t M ( t , t 1 ) = − − A ( t ) T M ( t , t 1 ) − − M ( t , t 1 ) A ( t ) − − C ( t ) T C ( t ) , M ( t 1 , t 1 ) = 0 {\displaystyle {\frac {d}{dt}}M(t,t_{1})=-A(t)^{T}M(t,t_{1})-M(t,t_{1})A(t)-C(t)^{T}C(t),\;M(t_{1},t_{1})=0}
• M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} satisfies the equation
M ( t 0 , t 1 ) = M ( t 0 , t ) + φ φ ( t , t 0 ) T M ( t , t 1 ) φ φ ( t , t 0 ) {\displaystyle M(t_{0},t_{1})=M(t_{0},t)+\varphi (t,t_{0})^{T}M(t,t_{1})\varphi (t,t_{0})} cite-ref-7[7]
Observability matrix generalization
The system is observable in [ t 0 , t 1 ] {\displaystyle [t_{0},t_{1}]} if and only if there exists an interval [ t 0 , t 1 ] {\displaystyle [t_{0},t_{1}]} in R {\displaystyle \mathbb {R} } such that the matrix M ( t 0 , t 1 ) {\displaystyle M(t_{0},t_{1})} is nonsingular.
If A ( t ) , C ( t ) {\displaystyle A(t),C(t)} are analytic, then the system is observable in the interval [ t 0 {\displaystyle t_{0}} , t 1 {\displaystyle t_{1}} ] if there exists t ¯ ¯ ∈ ∈ [ t 0 , t 1 ] {\displaystyle {\bar {t}}\in [t_{0},t_{1}]} and a positive integer k such thatcite-ref-0-8-0[8]
rank [ N 0 ( t ¯ ¯ ) N 1 ( t ¯ ¯ ) ⋮ ⋮ N k ( t ¯ ¯ ) ] = n , {\displaystyle \operatorname {rank} {\begin{bmatrix}&N_{0}({\bar {t}})&\\&N_{1}({\bar {t}})&\\&\vdots &\\&N_{k}({\bar {t}})&\end{bmatrix}}=n,}
where N 0 ( t ) := C ( t ) {\displaystyle N_{0}(t):=C(t)} and N i ( t ) {\displaystyle N_{i}(t)} is defined recursively as
N i + 1 ( t ) := N i ( t ) A ( t ) + d d t N i ( t ) , i = 0 , … … , k − − 1 {\displaystyle N_{i+1}(t):=N_{i}(t)A(t)+{\frac {\mathrm {d} }{\mathrm {d} t}}N_{i}(t),\ i=0,\ldots ,k-1}
Example
Consider a system varying analytically in ( − − ∞ ∞ , ∞ ∞ ) {\displaystyle (-\infty ,\infty )} and matrices
A ( t ) = [ t 1 0 0 t 3 0 0 0 t 2 ] , C ( t ) = [ 1 0 1 ] . {\displaystyle A(t)={\begin{bmatrix}t&1&0\\0&t^{3}&0\\0&0&t^{2}\end{bmatrix}},\,C(t)={\begin{bmatrix}1&0&1\end{bmatrix}}.}
Then [ N 0 ( 0 ) N 1 ( 0 ) N 2 ( 0 ) ] = [ 1 0 1 0 1 0 1 0 0 ] {\displaystyle {\begin{bmatrix}N_{0}(0)\\N_{1}(0)\\N_{2}(0)\end{bmatrix}}={\begin{bmatrix}1&0&1\\0&1&0\\1&0&0\end{bmatrix}}} , and since this matrix has rank = 3, the system is observable on every nontrivial interval of R {\displaystyle \mathbb {R} } .
Nonlinear systems
Given the system x ˙ ˙ = f ( x ) + ∑ ∑ j = 1 m g j ( x ) u j {\displaystyle {\dot {x}}=f(x)+\sum _{j=1}^{m}g_{j}(x)u_{j}} , y i = h i ( x ) , i ∈ ∈ p {\displaystyle y_{i}=h_{i}(x),i\in p} . Where x ∈ ∈ R n {\displaystyle x\in \mathbb {R} ^{n}} the state vector, u ∈ ∈ R m {\displaystyle u\in \mathbb {R} ^{m}} the input vector and y ∈ ∈ R p {\displaystyle y\in \mathbb {R} ^{p}} the output vector. f , g , h {\displaystyle f,g,h} are to be smooth vector fields.
Define the observation space O s {\displaystyle {\mathcal {O}}_{s}} to be the space containing all repeated Lie derivatives, then the system is observable in x 0 {\displaystyle x_{0}} if and only if dim ( d O s ( x 0 ) ) = n {\displaystyle \dim(d{\mathcal {O}}_{s}(x_{0}))=n} , where
d O s ( x 0 ) = span ( d h 1 ( x 0 ) , … … , d h p ( x 0 ) , d L v i L v i − − 1 , … … , L v 1 h j ( x 0 ) ) , j ∈ ∈ p , k = 1 , 2 , … … . {\displaystyle d{\mathcal {O}}_{s}(x_{0})=\operatorname {span} (dh_{1}(x_{0}),\ldots ,dh_{p}(x_{0}),dL_{v_{i}}L_{v_{i-1}},\ldots ,L_{v_{1}}h_{j}(x_{0})),\ j\in p,k=1,2,\ldots .} cite-ref-9[9]
There also exist an observability criteria for nonlinear time-varying systems.cite-ref-13[13]
Static systems and general topological spaces
Observability may also be characterized for steady state systems (systems typically defined in terms of algebraic equations and inequalities), or more generally, for sets in R n {\displaystyle \mathbb {R} ^{n}} .cite-ref-14[14]cite-ref-15[15] Just as observability criteria are used to predict the behavior of Kalman filters or other observers in the dynamic system case, observability criteria for sets in R n {\displaystyle \mathbb {R} ^{n}} are used to predict the behavior of data reconciliation and other static estimators. In the nonlinear case, observability can be characterized for individual variables, and also for local estimator behavior rather than just global behavior.
See also
References
cite-note-1-33. ↑ Sontag, E.D., "Mathematical Control Theory", Texts in Applied Mathematics, 1998
cite-note-44. ↑ "Controllability and Observability" (PDF). Archived from the original (PDF) on 2019-06-10. Retrieved 2024-05-19.
cite-note-0-88. ↑ Eduardo D. Sontag, Mathematical Control Theory: Deterministic Finite Dimensional Systems.
cite-note-99. ↑ Lecture notes for Nonlinear Systems Theory by prof. dr. D.Jeltsema, prof dr. J.M.A.Scherpen and prof dr. A.J.van der Schaft.
External links
• "Observability". PlanetMath.
• MATLAB function for checking observability of a system Archived 2012-02-19 at the Wayback Machine
• Mathematica function for checking observability of a system